package com.ruoyi.eam.mapper;

import com.ruoyi.eam.doman.AssetImages;

import java.util.List;

/**
 * 资产图片Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-19
 */
public interface AssetImagesMapper
{
    /**
     * 查询资产图片
     *
     * @param attachId 资产图片主键
     * @return 资产图片
     */
    public AssetImages selectAssetImagesByAttachId(Long attachId);

    /**
     * 查询资产图片列表
     *
     * @param assetImages 资产图片
     * @return 资产图片集合
     */
    public List<AssetImages> selectAssetImagesList(AssetImages assetImages);

    /**
     * 新增资产图片
     *
     * @param assetImages 资产图片
     * @return 结果
     */
    public int insertAssetImages(AssetImages assetImages);

    /**
     * 修改资产图片
     *
     * @param assetImages 资产图片
     * @return 结果
     */
    public int updateAssetImages(AssetImages assetImages);

    /**
     * 删除资产图片
     *
     * @param attachId 资产图片主键
     * @return 结果
     */
    public int deleteAssetImagesByAttachId(Long attachId);

    /**
     * 批量删除资产图片
     *
     * @param attachIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssetImagesByAttachIds(Long[] attachIds);
}
